package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_electric_veh_brand")
public class SysElectricVehBrand implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 商铺ID
     */
    @TableField(value = "shop_id")
    private Long shopId;

    /**
     * 品牌名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 产品名称 1:整车 2:电池
     */
    @TableField(value = "type")
    private Byte type;

    /**
     * 日租金
     */
    @TableField(value = "day_rent")
    private BigDecimal dayRent;

    /**
     * 成本价
     */
    @TableField(value = "cost_price")
    private BigDecimal costPrice;

    /**
     * 最低租金
     */
    @TableField(value = "rent")
    private BigDecimal rent;

    /**
     * 电动车地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 状态 0-无效； 1-有效；
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private Long createBy;

    /**
     * 修改人
     */
    @TableField(value = "modify_by")
    private Long modifyBy;


    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

}